<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JavaWeb访问路径</title>
</head>
<body>
<!--
    1.绝对路径
        a.以主机开头的完整路径
            http://localhost:8080/day05-servlet/path/Demo01.html
        b.以/开头的路径
            / + Application context + Servlet的路径
          例如: /day05-servlet/demo01
    2.相对路径
        Demo01.html绝对路径：http://localhost:8080/day05-servlet/path/Demo01.html
        ServletDemo01的绝对路径: http://localhost:8080/day05-servlet/demo01
            去掉相同部分
                Demo01.html: path/Demo01.html
                ServletDemo01: /demo01
                    ../向上退一级目录
      要看某个文件在Tomcat下的路径，而不是工程文件中的路径
-->
Demo01.html访问ServletDemo01的绝对路径:
<a href="http://localhost:8080/day05-servlet/demo01">ServletDemo01</a>
<a href="/day05-servlet/demo01">ServletDemo01</a>

<hr/>

Demo01.html访问ServletDemo01的相对路径:
<a href="../demo01">ServletDemo01</a>

</body>
</html>